package com.leyou.item.api;

import com.leyou.item.pojo.Brand;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 刘智博
 * @date 2022/3/8
 */

@RequestMapping("brand")
public interface BrandApi {
    @GetMapping("{bid}")
    public Brand queryBrandById(@PathVariable("bid")Long id);
}
